var index=0;
if(oPlayer.aboveGround==aboveGround) 
    index=0;
else 
    index=1;
    
if(aboveGround)
    draw_sprite_ext(sprite_index,index,x,y,1,1,0,image_blend,1);
else
    draw_sprite_ext(sprite_index,index,x,y+sprite_height,1,-1,0,image_blend,1);
